package cn.hdmis.service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import cn.hdmis.bean.QueryResult;
import cn.hdmis.entity.Student;

public interface StudentService {
	
	public void saveStudent(Student stu);
	
	public void updateStudent(Student newStu);
	
	public void delStudent(Serializable id);
	
	public int delStudents(List<Serializable> idList);
	
	public void updateGrade(Long persionId, Long gradeID);
	
	public Student getStudent(Long id);
	
	public QueryResult<Student> getAllStudent();
	
	public QueryResult<Student> getAllStudent(int firstindex,int pageSize);
	
	public QueryResult<Student> getAllStudent(int firstindex, int pageSize,Map<String,Object> queryParamsMap);


}
